<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="circleTopicDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='circleTopicDetail.heading'/>"/>
</head>

<s:form id="circleTopicForm" action="saveCircleTopic" method="post" validate="true">
    <li style="display: none">
        <s:hidden key="circleTopic.topicId"/>
    </li>
    <s:textfield key="circleTopic.cmntNum" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.crDate" required="false" maxlength="8" cssClass="text medium"/>
    <s:textfield key="circleTopic.favoritesNum" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.isApprove" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.isHot" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.pointNum" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.tacticTitle" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.topicDesc" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.topicType" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.urlAddress" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.userId" required="false" maxlength="100" cssClass="text medium"/>
    <s:textfield key="circleTopic.userName" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleTopic.version" required="false" maxlength="255" cssClass="text medium"/>

    <li class="buttonBar bottom">
        <s:submit cssClass="button" method="save" key="button.save" theme="simple"/>
        <c:if test="${not empty circleTopic.topicId}">
            <s:submit cssClass="button" method="delete" key="button.delete"
                onclick="return confirmDelete('CircleTopic')" theme="simple"/>
        </c:if>
        <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple"/>
    </li>
</s:form>

<script type="text/javascript">
    Form.focusFirstElement($("circleTopicForm"));
</script>
